package com.ten.system;


import com.aliyun.oss.internal.OSSUtils;
import com.ten.security.utils.OssUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.io.IOException;

/**
 * @author ：Q大侠
 * @date ：Created in 2022/12/1 21:44
 * @description：主启动类
 * @modified By：
 * @version:
 */
@SpringBootApplication(scanBasePackages = {"com.ten.security","com.ten.system","com.ten.common"})
@MapperScan(basePackages = "com.ten.system.dao")
@EnableSwagger2
public class SystemApp {
    public static void main(String[] args) {
        OssUtils ossUtils = new OssUtils();
        SpringApplication.run(SystemApp.class,args);

    }
}
